@font-face {
  font-family: "JMADH";
  src: url("font/JustMeAgainDownHere-Regular.ttf");
}

@font-face {
  font-family: "Typewriter-Light";
  src: url("font/American\ Typewriter\ Light.ttf");
}

@font-face {
  font-family: "Typewriter-Regular";
  src: url("font/American\ Typewriter\ Regular.ttf");
}

@font-face {
  font-family: "Typewriter-Bold";
  src: url("font/American\ Typewriter\ Bold.ttf");
}

/************** CSS Reset **************/
html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

ol,
ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}
/************** End CSS Reset **************/

body {
  background: linear-gradient(to bottom, #f7f8fb, #e9edff);
}

.clickable {
  cursor: pointer;
}

.type {
  cursor: url("image/HP image/typewriter.png"), pointer;
}

#HP-cover {
  display: grid;
  width: 100%;
  height: auto;
  position: relative;
}

#HP-cover-img {
  width: 100%;
  height: auto;
  grid-area: 1 / 1;
  z-index: 1;
}

#White-footprint-a a {
  width: 100;
  height: auto;
  display: grid;
  grid-area: 1 / -1;
  z-index: 3;
}

#White-footprint {
  width: 7%;
  height: auto;
  z-index: 3;
  margin-left: 3%;
  margin-top: -110%;
}

#HP-title {
  grid-area: 1 / 1;
  color: #47516a;
  font-family: "JMADH";
  font-size: 10vw;
  text-align: center;
  z-index: 2;
  margin-top: 7%;
  margin-bottom: 14%;
}

#HP-info {
  grid-area: 1 / 1;
  color: #8395c3;
  font-family: "Typewriter-Regular";
  text-align: center;
  font-size: 2.5vw;
  line-height: 1.7;
  letter-spacing: 0.1em;
  z-index: 2;
  margin-top: 65%;
}

#Preface {
  margin-top: 14%;
}

#Preface-title {
  font-family: "Typewriter-Regular";
  color: #47516a;
  text-align: center;
  font-size: 3vw;
  letter-spacing: 0.1em;
}

#Wand-doodle {
  width: 30%;
  z-index: 2;
  margin-top: -17%;
  margin-left: 60%;
}

#Preface-text {
  font-family: "Typewriter-Light";
  color: #838eaa;
  text-align: center;
  width: 60%;
  font-size: 2.1vw;
  line-height: 1.9;
  margin-left: auto;
  margin-right: auto;
  margin-top: -10%;
  opacity: 0;
  transition: opacity 1s;
}

#Excerpt-part1 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  height: auto;
  position: relative;
  margin-bottom: 14%;
}

#Excerpt {
  grid-column: 1 / -1;
  grid-row: 1;
  font-family: "Typewriter-Regular";
  font-size: 3vw;
  color: #47516a;
  text-align: center;
  margin-top: 14%;
  letter-spacing: 0.1em;
}

#paragraph1,
#paragraph2,
#paragraph3,
#paragraph4 {
  font-family: "Typewriter-Light";
  font-size: 1.6vw;
  line-height: 1.8;
}

#sentence1,
#sentence2,
#sentence3 {
  font-family: "JMADH";
  letter-spacing: 0.1em;
  color: #47516a;
  font-size: 3.7vw;
  line-height: 2;
}

#paragraph1 {
  grid-column: 1 / 3;
  grid-row: 1;
  width: 23%;
  text-align: left;
  color: #ffffff;
  z-index: 3;
  margin-left: 29%;
  margin-top: 35%;
}

#sentence1 {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 87%;
  margin-left: 6%;
  margin-top: -7%;
  z-index: 3;
}

#part1,
#part2 {
  opacity: 0;
}

#sentence1 p {
  min-height: 2em;
}

#HP-illustration1 {
  grid-column: 1 / -1;
  grid-row: 1;
  width: 80%;
  z-index: 1;
  margin-left: 18%;
  margin-top: 30%;
  z-index: 1;
}

#Rectangle-background {
  grid-column: 1 / 3;
  grid-row: 1;
  width: 35%;
  z-index: 2;
  margin-left: 22%;
  margin-top: 26%;
  z-index: 2;
}

#Excerpt-part2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  height: auto;
  position: relative;
  margin-bottom: 21%;
}

#paragraph2 {
  grid-column: 1;
  grid-row: 1;
  width: 67%;
  text-align: left;
  z-index: 3;
  color: #47516a;
  margin-left: 27%;
  margin-top: 10%;
}

#part3,
#part4,
#part5 {
  opacity: 0;
}

#sentence2 p {
  min-height: 2em;
}

#sentence2 {
  grid-column: 1;
  grid-row: 1;
  width: 87%;
  margin-left: 30%;
  margin-top: 63%;
  z-index: 3;
}

#HP-illustration2 {
  grid-column: 2;
  grid-row: 1;
  width: 77%;
}

#Excerpt-part3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  /* grid-template-columns: 1fr 1fr; */
  width: 100%;
  height: auto;
  position: relative;
  margin-bottom: 14%;
}

#paragraph3 {
  grid-column: 2 / 4;
  grid-row: 1;
  width: 59%;
  margin-left: 7%;
  color: #47516a;
}

#paragraph4 {
  grid-column: 3;
  grid-row: 2;
  width: 63%;
  margin-top: -30%;
  margin-left: 7%;
  color: #47516a;
}

#sentence3 {
  grid-column: 2 / 4;
  grid-row: 1;
  margin-top: 10%;
  margin-left: 33%;
  opacity: 0;
}

#HP-illustration3 {
  grid-column: 1;
  grid-row: 1;
  margin-top: -28%;
  margin-left: -10%;
}

#HP-illustration4 {
  grid-column: 1 / 3;
  grid-row: 2;
  width: 53%;
  margin-top: -25%;
  margin-left: 44%;
}

#Postscript {
  margin-bottom: 20%;
}

#Postscript-title,
#Postscript-text,
#sentence2 {
  color: #47516a;
  text-align: center;
}

#Postscript-title {
  font-family: "Typewriter-Regular";
  margin-top: 14%;
  margin-bottom: 7%;
  font-size: 3vw;
  color: #47516a;
  letter-spacing: 0.1em;
}

#Postscript-text {
  width: 60%;
  font-family: "Typewriter-Light";
  font-size: 2.1vw;
  line-height: 1.9;
  margin-left: auto;
  margin-right: auto;
  color: #8395c3;
}

#sentence4 {
  width: 60%;
  font-family: "JMADH";
  text-align: center;
  letter-spacing: 0.1em;
  font-size: 2.8vw;
  margin-left: auto;
  margin-right: auto;
  color: #47516a;
}

#line {
  font-family: "Typewriter-Light";
  text-align: center;
  margin-top: 10%;
  color: #8395c3;
}

/* Media Query */
@media (max-width: 768px) {
  #White-footprint {
    width: 10%;
  }
}
